package com.ctgu.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 管理员表
 * </p>
 *
 * @author yiMa
 * @since 2023-07-05
 */
@Getter
@Setter
  @ApiModel(value = "Admin对象", description = "管理员表")
public class Admin extends User implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("角色id")
      private String roleId;

      @ApiModelProperty("用户名")
      private String userName;

      @ApiModelProperty("昵称")
      private String nickName;

      @ApiModelProperty("密码")
      private String password;

      @ApiModelProperty("账号状态（0正常 1停用）")
      private String status;

      @ApiModelProperty("邮箱")
      private String email;

      @ApiModelProperty("手机号")
      private String phonenumber;

      @ApiModelProperty("用户性别（0男，1女，2未知）")
      private String sex;

      @ApiModelProperty("头像")
      private String img;


}
